<template>
  <div class="login">
    <div class="buttton" @click="login">登录</div>
    <!-- <iframe id="authFrame" src="https://t1.yangzhiqiang.tech/saml/saml2/idp/SSOService.php?SAMLRequest=fZJfa8IwFMXf%2FRQl722TOnULtiLKQHB%2F0G0Pe4vprQ20SU1une7TL%2BsUHGO%2BJJB7ftx7zs14cqirYA%2FWKaNTwiJKJllv7ERdNXzaYqlXsGvBYeB12vGukJLWam6EU45rUYPjKPl6%2BrDkSUR5Yw0aaSpygVwnhHNg0Q9wQq6ra0CRCxQkmJ65mdGurcGuwe6VhNfVMiUlYuN4HMvKtHmEoCVojKSp48pslY6%2FxyLB3FtTWmDn%2Fowgi45Cbz9LtVP%2B9rAsO313JLHKm3i9fjp1i5qyIcFinpKmOPRvoE8HjIYbuKUhLZK7kA2lCDdilI8Gw42kxdCLnWthoR0KjSlJaDII6ShMkhea8AHjjL2T4O28E%2B%2BZZN1GeMfZ7I%2BlcXxZPm3v0Se3mD%2BbSsljcG9sLfD%2FYFnEuheVh0Un5a12DUhVKMh90lVlPmYWBEJK0LZA4uyn6e9fkvW%2BAA%3D%3D" width="760" height="800"></iframe> -->
  </div>
</template>

<script>
export default {
  name: "",
  props: {},
  components: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  methods: {
    login() {
      const newWin = window.open('https://t1.yangzhiqiang.tech/saml/saml2/idp/SSOService.php?SAMLRequest=fZJfa8IwFMXf%2FRQl722TOnULtiLKQHB%2F0G0Pe4vprQ20SU1une7TL%2BsUHGO%2BJJB7ftx7zs14cqirYA%2FWKaNTwiJKJllv7ERdNXzaYqlXsGvBYeB12vGukJLWam6EU45rUYPjKPl6%2BrDkSUR5Yw0aaSpygVwnhHNg0Q9wQq6ra0CRCxQkmJ65mdGurcGuwe6VhNfVMiUlYuN4HMvKtHmEoCVojKSp48pslY6%2FxyLB3FtTWmDn%2Fowgi45Cbz9LtVP%2B9rAsO313JLHKm3i9fjp1i5qyIcFinpKmOPRvoE8HjIYbuKUhLZK7kA2lCDdilI8Gw42kxdCLnWthoR0KjSlJaDII6ShMkhea8AHjjL2T4O28E%2B%2BZZN1GeMfZ7I%2BlcXxZPm3v0Se3mD%2BbSsljcG9sLfD%2FYFnEuheVh0Un5a12DUhVKMh90lVlPmYWBEJK0LZA4uyn6e9fkvW%2BAA%3D%3D', '_blank',
        'width=1,height=1,left=-2000,top=-2000');
      setTimeout(() => {
        newWin.close()
        window.open("https://lke.cloud.tencent.com/lke")
      }, 5500);
    }
  },
  beforeCreate() {
  },
  created() {

  },
  beforeMount() {
  },
  mounted() {
    const newWin = window.open('https://t1.yangzhiqiang.tech/saml/saml2/idp/SSOService.php?SAMLRequest=fZJfa8IwFMXf%2FRQl722TOnULtiLKQHB%2F0G0Pe4vprQ20SU1une7TL%2BsUHGO%2BJJB7ftx7zs14cqirYA%2FWKaNTwiJKJllv7ERdNXzaYqlXsGvBYeB12vGukJLWam6EU45rUYPjKPl6%2BrDkSUR5Yw0aaSpygVwnhHNg0Q9wQq6ra0CRCxQkmJ65mdGurcGuwe6VhNfVMiUlYuN4HMvKtHmEoCVojKSp48pslY6%2FxyLB3FtTWmDn%2Fowgi45Cbz9LtVP%2B9rAsO313JLHKm3i9fjp1i5qyIcFinpKmOPRvoE8HjIYbuKUhLZK7kA2lCDdilI8Gw42kxdCLnWthoR0KjSlJaDII6ShMkhea8AHjjL2T4O28E%2B%2BZZN1GeMfZ7I%2BlcXxZPm3v0Se3mD%2BbSsljcG9sLfD%2FYFnEuheVh0Un5a12DUhVKMh90lVlPmYWBEJK0LZA4uyn6e9fkvW%2BAA%3D%3D', '_blank',
      'width=1,height=1,left=-2000,top=-2000');
    setTimeout(() => {
      newWin.close()
      window.open("https://lke.cloud.tencent.com/lke")
    }, 5500);
  },
  beforeUpdate() {
  },
  updated() {
  },
  activated() {
  },
  deactivated() {
  },
  beforeDestroy() {
  },
  destroyed() {
  }
}
</script>

<style lang="scss" scoped>
.login {
  padding: 50px;
  text-align: center;

  .button {
    margin-top: 20px;
    cursor: pointer;
  }
}
</style>